import axios from "axios";

export interface InstallRes {
  data: string;
}


export interface installModel {
  name: string;
  email: string;
}


export function isInstall() {
  return axios.get<InstallRes>('/sc/install/verify');
}

export function installed(data: installModel) {
  return axios.post<InstallRes>('/sc/install/installed', data);
}